﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace MLSMooc.DAO.BaseInterface
{
    public interface IQueryDAOAsync<T>
	{
		Task<IEnumerable<T>> GetListAsync();
		Task<T> GetByIdAsync(string id);

		//Task<IEnumerable<T>> GetListAsync(string condition, object param);
	}
}
